namespace Eco.Contrib.Demo
{
    using System;
    using System.Collections;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Windows.Forms;
    using Eco.Handles;
    using Eco.ObjectRepresentation;
    using Eco.Services;
    using Eco.Windows.Forms;
    using Eco.WinForm;

    public partial class WinScript
    {
        private Eco.Handles.ReferenceHandle rhRoot;
        private Eco.WinForm.EcoActionExtender ecoGlobalActions;
        private Eco.WinForm.EcoDragDropExtender ecoDragDrop;
        private Eco.WinForm.EcoAutoFormExtender ecoAutoForms;
        private Eco.WinForm.EcoListActionExtender ecoListActions;

        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.Container components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (this.components != null)
                {
                    this.components.Dispose();
                }
            }

            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.rhRoot = new Eco.Handles.ReferenceHandle();
            this.ecoListActions = new Eco.WinForm.EcoListActionExtender();
            this.btnCancel = new System.Windows.Forms.Button();
            this.ecoDragDrop = new Eco.WinForm.EcoDragDropExtender();
            this.ecoGlobalActions = new Eco.WinForm.EcoActionExtender();
            this.ecoAutoForms = new Eco.WinForm.EcoAutoFormExtender();
            this.tbxName = new System.Windows.Forms.TextBox();
            this.lblName = new System.Windows.Forms.Label();
            this.tbxParameter = new System.Windows.Forms.TextBox();
            this.lblParameter = new System.Windows.Forms.Label();
            this.rtbProgram = new System.Windows.Forms.RichTextBox();
            this.lblProgram = new System.Windows.Forms.Label();
            this.btnOK = new System.Windows.Forms.Button();
            this.btnShowDebugger = new System.Windows.Forms.Button();
            this.btnCompile = new System.Windows.Forms.Button();
            ((System.ComponentModel.ISupportInitialize)(this.rhRoot)).BeginInit();
            this.SuspendLayout();
            // 
            // rhRoot
            // 
            this.rhRoot.EcoSpaceTypeName = "Eco.Contrib.EcoSpace.EcoContribEcoSpace";
            this.rhRoot.StaticValueTypeName = "Script";
            // 
            // ecoListActions
            // 
            this.ecoListActions.DeleteQuestion = "Delete object(s)?";
            // 
            // btnCancel
            // 
            this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.ecoGlobalActions.SetEcoAction(this.btnCancel, Eco.WinForm.EcoAction.Undo);
            this.btnCancel.Location = new System.Drawing.Point(139, 513);
            this.btnCancel.Name = "btnCancel";
            this.ecoListActions.SetRootHandle(this.btnCancel, this.rhRoot);
            this.btnCancel.Size = new System.Drawing.Size(75, 23);
            this.btnCancel.TabIndex = 7;
            this.btnCancel.Text = "Cancel";
            this.btnCancel.UseVisualStyleBackColor = true;
            this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
            // 
            // ecoGlobalActions
            // 
            this.ecoGlobalActions.RootHandle = this.rhRoot;
            // 
            // tbxName
            // 
            this.tbxName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.rhRoot, "Name", true));
            this.tbxName.Location = new System.Drawing.Point(58, 13);
            this.tbxName.Name = "tbxName";
            this.tbxName.Size = new System.Drawing.Size(243, 20);
            this.tbxName.TabIndex = 0;
            // 
            // lblName
            // 
            this.lblName.AutoSize = true;
            this.lblName.Location = new System.Drawing.Point(21, 15);
            this.lblName.Name = "lblName";
            this.lblName.Size = new System.Drawing.Size(35, 13);
            this.lblName.TabIndex = 1;
            this.lblName.Text = "Name";
            // 
            // tbxParameter
            // 
            this.tbxParameter.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.rhRoot, "Parameter", true));
            this.tbxParameter.Location = new System.Drawing.Point(58, 40);
            this.tbxParameter.Name = "tbxParameter";
            this.tbxParameter.Size = new System.Drawing.Size(433, 20);
            this.tbxParameter.TabIndex = 2;
            // 
            // lblParameter
            // 
            this.lblParameter.AutoSize = true;
            this.lblParameter.Location = new System.Drawing.Point(1, 42);
            this.lblParameter.Name = "lblParameter";
            this.lblParameter.Size = new System.Drawing.Size(55, 13);
            this.lblParameter.TabIndex = 3;
            this.lblParameter.Text = "Parameter";
            // 
            // rtbProgram
            // 
            this.rtbProgram.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.rtbProgram.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.rhRoot, "Program", true));
            this.rtbProgram.Font = new System.Drawing.Font("Courier New", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.rtbProgram.Location = new System.Drawing.Point(58, 67);
            this.rtbProgram.Name = "rtbProgram";
            this.rtbProgram.Size = new System.Drawing.Size(733, 436);
            this.rtbProgram.TabIndex = 4;
            this.rtbProgram.Text = string.Empty;
            // 
            // lblProgram
            // 
            this.lblProgram.AutoSize = true;
            this.lblProgram.Location = new System.Drawing.Point(9, 70);
            this.lblProgram.Name = "lblProgram";
            this.lblProgram.Size = new System.Drawing.Size(46, 13);
            this.lblProgram.TabIndex = 5;
            this.lblProgram.Text = "Program";
            // 
            // btnOK
            // 
            this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.btnOK.Location = new System.Drawing.Point(58, 513);
            this.btnOK.Name = "btnOK";
            this.btnOK.Size = new System.Drawing.Size(75, 23);
            this.btnOK.TabIndex = 6;
            this.btnOK.Text = "OK";
            this.btnOK.UseVisualStyleBackColor = true;
            this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
            // 
            // btnShowDebugger
            // 
            this.ecoGlobalActions.SetEcoAction(this.btnShowDebugger, Eco.WinForm.EcoAction.ShowDebugger);
            this.btnShowDebugger.Location = new System.Drawing.Point(716, 15);
            this.btnShowDebugger.Name = "btnShowDebugger";
            this.ecoListActions.SetRootHandle(this.btnShowDebugger, this.rhRoot);
            this.btnShowDebugger.Size = new System.Drawing.Size(75, 23);
            this.btnShowDebugger.TabIndex = 8;
            this.btnShowDebugger.Text = "Debugger";
            this.btnShowDebugger.UseVisualStyleBackColor = true;
            // 
            // btnCompile
            // 
            this.btnCompile.Location = new System.Drawing.Point(716, 40);
            this.btnCompile.Name = "btnCompile";
            this.btnCompile.Size = new System.Drawing.Size(75, 23);
            this.btnCompile.TabIndex = 9;
            this.btnCompile.Text = "Compile";
            this.btnCompile.UseVisualStyleBackColor = true;
            this.btnCompile.Click += new System.EventHandler(this.btnCompile_Click);
            // 
            // WinScript
            // 
            this.ClientSize = new System.Drawing.Size(803, 544);
            this.Controls.Add(this.btnCompile);
            this.Controls.Add(this.btnShowDebugger);
            this.Controls.Add(this.btnCancel);
            this.Controls.Add(this.btnOK);
            this.Controls.Add(this.lblProgram);
            this.Controls.Add(this.rtbProgram);
            this.Controls.Add(this.lblParameter);
            this.Controls.Add(this.tbxParameter);
            this.Controls.Add(this.lblName);
            this.Controls.Add(this.tbxName);
            this.Name = "WinScript";
            this.Text = "WinScript";
            ((System.ComponentModel.ISupportInitialize)(this.rhRoot)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();

        }
        #endregion

        private TextBox tbxName;
        private Label lblName;
        private TextBox tbxParameter;
        private Label lblParameter;
        private RichTextBox rtbProgram;
        private Label lblProgram;
        private Button btnOK;
        private Button btnCancel;
        private Button btnShowDebugger;
        private Button btnCompile;

    }
}
